package com.gdufs.secondhandwebsite.service;

import com.gdufs.secondhandwebsite.entity.Post;

import java.util.List;


public interface PostService {
    void createPost(Post post, String username, String userImg);
    boolean delPost(Long postId);
    boolean updatePost(Post post);
    List<Post> getAllPost();
    Post getPostById(Long postId);
}
